package ru.silviasaint.fridge.server.bean.impl;

import java.io.Serializable;

import ru.silviasaint.fridge.shared.bean.SkinnySubstance;

import com.j256.ormlite.field.DatabaseField;

public abstract class Substance implements Serializable{
	private static final long serialVersionUID = -4071085578577581697L;
    @DatabaseField(generatedId  = true)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public SkinnySubstance convertToSkinny(){
		throw new IllegalArgumentException("method not implemented");
	}
	public void fillFromSkinny(SkinnySubstance substance){
		throw new IllegalArgumentException("method not implemented");
	}
}
